package com.example.demo.service;

import com.example.demo.dao.Indent;
import com.example.demo.dao.SearchIndentResponse;

import java.util.List;

public interface indentService {
    //查询未发货订单信息
    SearchIndentResponse searchIndent(Integer pageNum,Integer pageSize);
     List<Indent> findIsendIndent();
    int delectIndent (Integer id );
    //未发货订单商品信息
//    SearchIndentResponse findgoods(Integer pageNum,Integer pageSize);
    //修改发货信息
    int uodateIssent(Integer id);

    //查询未收货订单信息
    SearchIndentResponse searchIndent1(Integer pageNum,Integer pageSize);
    SearchIndentResponse searchIndent2(Integer pageNum,Integer pageSize);
    //未收货订单商品信息
//    SearchIndentResponse findgoods1(Integer pageNum,Integer pageSize);



    //前端点击购物添加订单
    int addIndent(Indent indent);

    List<Indent> findIndentByUser(Integer id);

    Indent findIndentById(Integer id);

    int updateIndent(Indent indent);
    //查询订单
    List<Indent> findAll();
    //拆寻未付款订单
    List<Indent> findNoPay();

    List<Indent> findNoSend();

    List<Indent> findNoReceive();

    List<Indent> findNoComplete();
}
